package com.zoweunion.mechanic.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface EngineServerDao extends BaseMapper {
    List<Map<String, Object>> selectListByPId(String s_id);

    Map<String, Object> selectServerBySId(Map<String, Object> server);

    List<Map<String, Object>> selectThingsBySId(Map<String, Object> server);

    List<Map<String, Object>> selectServerThingsList(Map<String, Object> params);

    Map<String, Object> selectServerInfoList(Map<String, Object> params);

    List<String> selectThingsById(Map<String, Object> params);

    Map<String, Object> selectStatusByThings(String item);

    String selectUserNameById(Map<String, Object> map);
}
